package com.jintian.smart.kernel.orm.impl;

import com.jintian.smart.kernel.core.orm.ISimpleCondition;
import com.jintian.smart.kernel.orm.controller.IEntityController;
import com.jintian.smart.kernel.orm.service.IService;
import org.springframework.beans.factory.annotation.Autowired;

public abstract class AbstractEntiryController<C extends IService<T>, Q extends ISimpleCondition, T>
        implements IEntityController<T, Q> {

    @Autowired
    protected C entityService;

    @Override
    public IService<T> getEntityService() {
        return this.entityService;
    }

}
